
.#{$prefix}-p-course-lesson-period {
  height: calc(100% - 118px);
  .content-list {
    height: calc(100% - 56px);
    padding: 0 24px;
    overflow-y: auto;
    .el-timeline {
      margin-left: 16px;
    }
    .el-timeline-item {
      padding-bottom: 0;
      .el-timeline-item__timestamp.is-bottom {
        margin-top: 0;
      }
      .el-timeline-item__tail {
        top: 50%;
        border-style: dashed;
        border-color: rgba($color: #315BF4, $alpha: 0.3) ;
      }
      .el-timeline-item__dot {
        top: 24px;
        left: -16px;
      }
      & + .el-timeline-item {
        .period-item {
          border-top: 1px solid #F0F0F0;
        }
      }
    }
    .dot {
      width: 40px;
      height: 40px;
      line-height: 40px;
      text-align: center;
      border-radius: 20px;
      background-color: #F5F7FE;
      font-size: 20px;
      color: #315BF4;
      font-weight: bold;
    }
    .period-item {
      display: flex;
      justify-content: space-between;
      margin-left: 24px;
      padding: 24px 24px 24px 0;
      .period-title {
        font-size: 14px;
        font-weight: bold;
        line-height: 22px;
        color: #333333;
      }
      .period-funs {
        margin-top: 8px;
        line-height: 20px;
        font-size: 12px;
        color: #666666;
        .funs-it {
          height: 20px;
          line-height: 20px;
          padding: 0 6px;
          color: #315BF4;
          background-color: #F5F7FE;
          & + .funs-it {
            margin-left: 8px;
          }
        }
        .el-icon-document {
          color: #315BF4;
        }
      }
    }
    .period-actions {
      display: flex;
      align-items: center;
      .el-button + .el-button, .el-switch + .el-button {
        margin-left: 8px;
      }
      .el-button--small {
        border-radius: 4px;
      }
    }
  }
}
